package com.jcode.skeleton.web;

import com.jcode.skeleton.model.CRUDEntity;

/**
 * @Desc
 *
 * @Author dreajay
 * @DateTime 2016年6月4日 下午4:35:39
 * 
 */
public class AdminCrudController<T extends CRUDEntity> extends CrudController<T> {

	public static final String VIEW_PATH_ADMIN = "admin";

	public AdminCrudController() {
		setViewPath(VIEW_PATH_ADMIN);
	}

	protected String getViewPath() {
		return VIEW_PATH_ADMIN;
	}

	protected String getDetailView() {
		return getView("edit");
	}

	protected String getAddView() {
		return getView("edit");
	}

	protected String getEditView() {
		return getView("edit");
	}
}
